﻿using Hotel.Application.Admins.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Application.DicTypes.Dto
{
    public class DicTypeCreateUpdateDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long TypeId { get; set; }
        /// <summary>
        /// 字典类型名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 字典类型编码
        /// </summary>
        public string TypeCode { get; set; }
        /// <summary>
        /// 类型排序
        /// </summary>
        public int TypeOrder { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }

    public class DicTypeListDto : DicTypeCreateUpdateDto
    {
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }
}
